Skip to content

Lg 10912 email monthly report#9193

Merged
ThatSpaceGuy merged 16 commits intomainfrom
LG-10912-Email-Monthly-Report
Sep 26, 2023
Merged

Lg 10912 email monthly report#9193
ThatSpaceGuy merged 16 commits intomainfrom
LG-10912-Email-Monthly-Report

Conversation

@ThatSpaceGuy
Copy link
Copy Markdown
Contributor

@ThatSpaceGuy ThatSpaceGuy commented Sep 12, 2023

🎫 Ticket

https://cm-jira.usa.gov/browse/LG-10912

👀 Screenshots

Here is an example of what the Monthly Key Metrics Report looks like:
image

Comment thread app/jobs/reports/monthly_account_reuse_report.rb Outdated
Comment thread app/mailers/report_mailer.rb Outdated
Comment thread config/initializers/job_configurations.rb Outdated
Comment thread config/application.yml.default Outdated
@ThatSpaceGuy ThatSpaceGuy force-pushed the LG-10912-Email-Monthly-Report branch from c21abd2 to 32fe8e8 Compare September 19, 2023 21:02
@ThatSpaceGuy ThatSpaceGuy marked this pull request as ready for review September 22, 2023 22:06
@ThatSpaceGuy ThatSpaceGuy force-pushed the LG-10912-Email-Monthly-Report branch from ef0648f to 0298901 Compare September 25, 2023 04:58
Comment thread spec/mailers/previews/report_mailer_preview.rb Outdated
Comment thread app/jobs/reports/monthly_account_reuse_report.rb Outdated
Comment thread app/jobs/reports/monthly_account_reuse_report.rb Outdated
Comment thread app/jobs/reports/monthly_key_metrics_report.rb Outdated
Comment thread app/jobs/reports/monthly_key_metrics_report.rb Outdated
Comment thread spec/jobs/reports/monthly_account_reuse_report_spec.rb Outdated
@ThatSpaceGuy ThatSpaceGuy force-pushed the LG-10912-Email-Monthly-Report branch from 0a2eaad to 2722c13 Compare September 25, 2023 17:21
Comment thread app/mailers/report_mailer.rb Outdated
Copy link
Copy Markdown
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread app/views/report_mailer/tables_report.html.erb Outdated
Comment on lines +12 to +20
allow(IdentityConfig.store).to receive(:team_agnes_email).and_return(
agnes_email,
)
allow(IdentityConfig.store).to receive(:team_all_feds_email).and_return(
feds_email,
)
allow(Identity::Hostdata).to receive(:env).and_return(
'prod',
)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style nit, I prefer to keep these a little more vertically short if possible

Suggested change
allow(IdentityConfig.store).to receive(:team_agnes_email).and_return(
agnes_email,
)
allow(IdentityConfig.store).to receive(:team_all_feds_email).and_return(
feds_email,
)
allow(Identity::Hostdata).to receive(:env).and_return(
'prod',
)
allow(IdentityConfig.store).to receive(:team_agnes_email).
and_return(agnes_email)
allow(IdentityConfig.store).to receive(:team_all_feds_email).
and_return(feds_email)
allow(Identity::Hostdata).to receive(:env).
and_return('prod')

Copy link
Copy Markdown
Contributor Author

@ThatSpaceGuy ThatSpaceGuy Sep 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done - I wonder if we can get the linter to prefer this formatting over the other formatting (which was auto-implemented)? 🤔

Comment thread spec/jobs/reports/monthly_account_reuse_report_spec.rb Outdated
@ThatSpaceGuy ThatSpaceGuy merged commit d8f201f into main Sep 26, 2023
@ThatSpaceGuy ThatSpaceGuy deleted the LG-10912-Email-Monthly-Report branch September 26, 2023 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants